package com.zlm.tools.cron;

/**
 * @author zlm
 * @date 2023/8/3
 */
public enum JobEnum {

    EVERY("每天",0),
    DAY("日",1),
    MONTH("月",2),
    WEEK("周",3),
    YEAR("年",4),
    ;

    JobEnum(String name,Integer value) {
        this.name = name;
        this.value = value;
    }

    private final String name;
    private final Integer value;

    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
